<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html>
<script>
    function Animal() {}
    Animal.prototype.gebre = "猫类";
    Animal.prototype.name = "小花";

    function Cat() {}
    Cat.prototype = new Animal();
    Cat.prototype.breed = "老虎";
    
    function Tiger() {}
    Tiger.prototype = new Cat();
    Tiger.prototype.variety = "东北虎";

    function ManTiger() {}
    ManTiger.prototype = new Tiger();
    ManTiger.prototype.power = "160Kg";,


    var p1 = new ManTiger();
    console.log(p1);
    console.log(p1.gebre);
    console.log(p1.name);
    console.log(p1.breed);
    console.log(p1.variety);
    console.log(p1.power);
</script>